from django.apps import AppConfig
from django.core.checks import register, Tags


class SyncWebConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'sync_web'
    default = True
    default_app_config = 'apps.sync_web.apps.sync_webConfig'  # 升级后修改

    def ready(self):
        from sync_web import sync_web_settings
        sync_web_settings.sync_web_settings_set()

        # register(check_ceph_settings, Tags.security, deploy=True)
